'City gate' in the Bible
The Ammonites marched out and were deployed for battle at the entrance of the city gate, while the men from Aram Zobah, Rehob, Ish-tob, and Maacah were by themselves in the field.
The messenger said to David, "The men overpowered us and attacked us in the field. But we forced them to retreat all the way to the door of the city gate.
Now Absalom used to get up early and stand beside the road that led to the city gate. Whenever anyone came by who had a complaint to bring to the king for arbitration, Absalom would call out to him, "What city are you from?" The person would answer, "I, your servant, am from one of the tribes of Israel."
Then the king said to them, "I will do whatever seems best to you." So the king stayed beside the city gate, while all the army marched out by hundreds and by thousands.
Deeply shaken, the king went up to the chamber overlooking the city gate, weeping bitterly and crying out as he went along, "My son Absalom! My son! My son Absalom! I wish I had died instead of you, Absalom my son, my son!"
David was extremely thirsty and said, “If only someone would bring me water to drink from the well at the city gate of Bethlehem!”
So the Three elite warriors broke through the Philistine ranks, drew some water from the Bethlehem well that was next to the city gate, and brought it back to David. But he refused to drink it. Instead, he poured it out in the LORD's presence,